/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2024-02-03
 * Time: 13:08
 * <p>
 * https://www.nowcoder.com/share/jump/7745334641706936910179
 */
public class BM63 {
    public int jumpFloor(int number) {
        int a = 0, b = 1;
        for (int i = 0; i < number; i++) {
            int tmp = a;
            a = b;
            b = tmp + b;
        }
        return b;
    }
}
